﻿@model EAP.Logic.Z30.QuickCommunication
@{
    ViewBag.Title = "QuickInsert";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<link href="/Content/themes/smoothness/jquery-ui.css" rel="stylesheet" type="text/css" />
<script src="/Content/Scripts/jquery-ui.min.js" type="text/javascript"></script>
<div id="contents">
    <div id="top">
        <div class="con clearfix">
            <div class="fl">
                <a href="javascript:;" class="btn img" onclick="history.back()"><i class="icon i_back">
                </i>返回<b></b></a>
            </div>
        </div>
    </div>
    <div id="main">
        @using (Html.BeginForm())
        {
            <table cellspacing="0" cellpadding="0" border="0" class="detail">
                <caption>
                    <h3 id="title">
                        快速新增沟通记录</h3>
                </caption>
                <tr>
                    <td class="tt">
                        公司：
                    </td>
                    <td colspan="3" class="tc">
                        @Html.TextBox("CorpName", Model.CorpName, new { @class = "text w300" })
                    </td>
                </tr>
                <tr>
                    <td class="tt">
                        网站情况：
                    </td>
                    <td colspan="3" class="tc">
                        @Html.Raw((typeof(EAP.Logic.Z30.WebSiteStatus)).ToHtmlControlList("WebSiteStatus", "radio", typeof(Resources.X), Model.WebSiteStatus ?? 0))
                    </td>
                </tr>
                <tr>
                    <td class="tt">
                        拜访方式：
                    </td>
                    <td class="tc" colspan="3">
                        @Html.Raw((typeof(EAP.Logic.Z30.VisitWays)).ToHtmlControlList("VisitWay", "radio", typeof(Resources.X), Model.VisitWay ?? 0))
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td class="tt">
                        联络人：
                    </td>
                    <td class="tc" colspan="3">
                        @Html.TextBox("LinkName", Model.LinkName, new { @class = "text w300" })
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td class="tt">
                        联络人角色：
                    </td>
                    <td colspan="3" class="tc">
                        @Html.Raw((typeof(EAP.Logic.Z30.BuyerTypes)).ToHtmlControlList("BuyerPersonas", "radio", typeof(Resources.X), Model.BuyerPersonas ?? 0))
                    </td>
                </tr>
                <tr>
                    <td class="tt">
                        电话号码：
                    </td>
                    <td class="tc" colspan="3">
                        @Html.TextBox("Tel", Model.Tel, new { @class = "text w300" })
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td class="tt">
                        成功概率：
                    </td>
                    <td class="tc" colspan="3">
                        @Html.Raw((typeof(EAP.Logic.Z30.SuccessRatioes)).ToHtmlControlList("SuccessRatio", "radio", typeof(Resources.X), Model.SuccessRatio ?? 0))
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td class="tt">
                        沟通内容：
                    </td>
                    <td class="tc" colspan="3">
                        @Html.TextArea("Content", Model.Content, new { @class = "textArea w300", rows = 10 })
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td class="tt">
                    </td>
                    <td class="tc" colspan="3">
                        @Html.ValidationSummary()
                    </td>
                    <td>
                    </td>
                </tr>
                <tr class="action">
                    <td>
                    </td>
                    <td class="tc" colspan="3">
                        <input type="submit" value="保存" class="gbutton mr20" />
                    </td>
                    <td>
                    </td>
                </tr>
            </table>
        }
    </div>
</div>
